#include <stdio.h>
#include <stdlib.h>
#include "add.h"
#include "sub.h"
#include "main.h"

int main(int argc, char **argv)
{
    printf("hello cmake!\n");
    if (argc != 3) {
        printf("Please give two numbers\n");
        return -1;
    }

    int num1 = atoi(argv[1]);
    int num2 = atoi(argv[2]);
    printf("%d + %d = %d\n", num1, num2, Add(num1, num2));
    printf("%d - %d = %d\n", num1, num2, Sub(num1, num2));
    return 0;
}